Hi Cristian,
You could connect a parameter to an ADC input with something like:
ch0->InputOffset0 = ADC(0) * MYFACTOR;
Sound to Feed Rate sounds a bit unusual. But that would be similar to the Potentiometer Feed Rate control of a recent post. See the SetFROwithPot.c Example.
http://groups.yahoo.com/neo/groups/DynoMotion/conversations/messages/8389
There will be some delay in the response to feed rate changes as it will be applied to motion beyond the Trajectory Planner Lookahead. Hardware feedhold would have a more immediate effect.
Regards
TK
Group: DynoMotion |
Message: 8414 |
From: cristian_atzori |
Date: 9/30/2013 |
Subject: Re: Correlate ADC input with axis configuration values |
Thanks Tom for the reply, it's wonderful that we can arrange similar operations in such a simple way!
About the vibration transducer I will collect istantaneous values with a circuit that make an average over a time interval of 2 seconds and keeps track of the max level. In fact the value can only rise (and the feed slow down) so the potentiometer example is perfect for my application.
I'm amazed about the capabilities of this controller...really.
Best regards.
---In dynomotion@yahoogroups.com, <tk@...> wrote:
Hi Cristian,
You could connect a parameter to an ADC input with something like:
ch0->InputOffset0 = ADC(0) * MYFACTOR;
Sound to Feed Rate sounds a bit unusual. But that would be similar to the Potentiometer Feed Rate control of a recent post. See the SetFROwithPot.c Example.
http://groups.yahoo.com/neo/groups/DynoMotion/conversations/messages/8389
There will be some delay in the response to feed rate changes as it will be applied to motion beyond the Trajectory Planner Lookahead. Hardware feedhold would have a more immediate effect.
Regards TK
| |